Yes, cosigners (including a spouse) who do not file bankruptcy themselves remain liable for the debt if the other party files for bankruptcy protection. Regardless if you receive a discharge in bankruptcy, the creditor still can pursue your cosigner for the debt.