How can a divorce go well for everyone?

Divorces are sadly quite common.

What are some choices that both partners can make when getting married that would make a divorce less painful?
Updates:
How can a divorce go well for everyone?
1
2
Add Opinion