Bankruptcy and Divorce. If you have been involved in a divorce, you may be wondering what happens to the debt that was divided in your divorce agreement. You may also wonder what happens if your ex files for bankruptcy. These answer depend on a few factors surrounding you and your ex.