If upon separate agreement spouses decide that only one of them will be using the money loaned by the bank and they both agree that only one person who should pay the installments for the loan, both spouses should address the bank. More at:
http://www.mflegal.pl/divorce_in_poland_transfer_of_bank_credit_after_divorce.html