From the time you were served notice that your home was going into foreclosure is when you should have made plans to move out. Therefore, you do need to find a place now. It will be difficult for you because your credit will take a major hit and landlords want tenants with good credit scores. With a foreclosure, you can lose about 200 points on your credit. You may have to consider a mobile home.
If you plan to buy a house in the future, there is a waiting period of about 3 years or more from the date the foreclosure was transferred to the buyer.