It will take forever to get financing after BK
It has been four years for us and still no one will lend to us.
If you have the cash for the home great that is the only way you will get it or try land contract with the seller.
Depending on the bankruptcy, (Chapert 13 or Chapter 7) you will have to wait at least 2 years with stellar payments in your credit report - in order to purchase a property.
This is a timeframe matrix that shows waiting periods not only for Bankruptcy, but also shortsales, foreclosures etc. for all the different mortgage types- conventional, FHA, VA, Jumbo etc.
CFS Mortgage assists homeowners who have recently been through a foreclosure, short sale or have recently emerged from bankruptcy.
First, speak to an attorney, that's the best resource.
That said, yes you will have to wait out the 2 years (or more) AND maintain your credit in good standing, meaning pay according to the plan in a timely manner.
You may be able to do something with a large down payment and a hard money lender
Senior VP of Mortgage Lending