Depending on the type of bankruptcy filed, the ex-spouse may be able to drag you back into the debt dispute. Child support and alimony are not dischargeable and will have to eventually be paid. If you are filing bankruptcy before divorce, then the divorce judge will have broad discretion in dividing up liabilities after the bankruptcy filing.