The downward spiral has ended in many places, here in Miami, there's a definite upward spiral underway. Make sure you do everything you can to be ready when you do requalify for a mortgage... start saving for a downpayment, etc.
No, you cannot obtain a mortgage until 3 years after the bankruptcy occurrence date. Continue to have at least two lines of credit and make all your payments on time. This will help get your credit score up.