Can you buy a home with bad credit? You don’t need to have a flawless credit report to buy a home. Here’s what you do need to qualify for a mortgage.