You will receive notice of the upcoming foreclosure. Other than that, it is the lender's timing as far as when you will need to move out. Remember, you have broken a contract by not paying your mortgage and the house is not yours until it is fully paid for. It may go better for you if you do contact the lender and work with them to resolve the issue, even if you do have to let the house go.