Daniel Clement, a NY divorce lawyer, recently published a good article on preserving your credit rating during a divorce. He reminds divorcing spouses that apportioning joint liability is not binding on a creditor; a creditor can attempt to collect the debt from either or both parties. Missed payments can have a deleteriuos affect on your credit score for years.
If you know a divorce is imminent, it may be wise to take action, as suggested by Mr. Clement, at least six months to a year before filing. This way, if and when problems start rearing their head, many issues will have already been resolved.