Next time he calls and mentions a tough situation. It's okay for you to be a good listener and have plenty of positive empathy. Because, if this divorce does go though, you want him to leave with plenty of great memories of you, and live to regret the decision. In other words, I hope this makes sense, but balance emotional detachment and growing independence with generosity of spirit... a generosity and kindness given without expectations.
Hummmmm.... is this a wedding in his family? Do they know about the divorce? I would consider going dressed and looking HOT HOT HOT. Then I'd be the nicest person... sweet, attractive, positive and make sure everyone left thinking; "That guy is an idiot for divorcing her. He's losing something special." Be super sweet and a patient, interested listener with his family. Also, you might also do some very harmless flirting with the unattached men there and mention that once you are legally divorced... well if someone happens to know a really great guy... someone with good character, good job, etc.... ask them to keep you in mind.
There is no arriving, ever. It is all a continual becoming.