Bankruptcy can wipe the financial slate clean, but in some instances, you may not be allowed to file for it.