It depends. Lenders look at not only your credit score, but the reasons behind the credit scores being where they are. If you don't pay your bills or have had a recent bankruptcy, then you will almost certainly get declined for financing. After all, we're dealing in large sums of money here and banks are cautious. They want to lend money, but only if it's likely they'll get paid back. And credit scores are a pretty good indicator of a person's willingness to pay their debts. Remember, homeownership is a privelege not a right.
Speak with a local reputable lender who can tell you where you stand and point you in the right direction if your credit is not quite where it needs to be. Best of luck!