Usually debt & assets are divided equitably in divorce unless the credit cards are only in your name.
Divorce is done because there is a problem with the marriage & it is usually bith sides that contribute to the problem. If online courses take 2 years for you to get a new career I am sure her reason for a divorce woukd not want to wait that long just to accomodate you & who was going to pay for that training?
We have to do what we have to do to pay off debt & start over after divorce. Maybe you can get some help through your disability to get training. Just make sure any training you actually pay for will actually have the results of landing a new career & not just wasting more money & get you deeper in debt