Bankruptcy can offer a financial fresh start, but not everyone qualifies. Here's what to know before filing.