I have to believe your credit scores are less than perfect because of your situation, so an FHA loan will probably be your best bet. The progam is a little more fogiving in terms of credit and the rates arent credit score driven, meaning there is no minimum score requirement.
However if your credit is imperfect then most lenders will want to see that you are working in good faith on improving your credit and your finances. This usually means a 12-24 month track record of no delinquencies or collection accounts and it wouldnt hurt if you showed a pattern of being able to save some $$ up over the course of at least 6 months.
You should speak with an experienced, reputable lender right now to see where you are at and where you need to be to qualify. Someone local, not one of those internet yahoo's without an office or a local presence. A good loan officer should be able to help map out a gameplan for you so that it puts you in the best position to attain your goal - be it 3 mos,6 mos, or a a year down the road.
Cleaning up your credit and qualifying for a home is like training for a marathon. You need to work hard and it doesnt happen over night
Best of luck!
I could have filed bankruptcy but I've fought hard for 5 years to pay off all of my own bills. I wish creditors would see what I have done to keep out of bankruptcy including no loans or any help for almost 7 years since my being laid off a couple of times from 2000-2003. I guess i should have filed then and just got my student loan better faster instead of paying massive late fees and interest on credit card bills that went up when I was out of work. all I have to do is pay off a couple of old utility bills then I'll owe nothing.