If the credit report is attached to the loan, it will be retained for the life of the loan.
Otherwise, the credit report detail is usually purged after 60 days, and the summary and decision is purged after 6 months. (This is configurable; if you would like a longer retention, contact Lender*VP. A small monthly charge may apply.)