If you are young an have substantial assets/debts, maybe so. If you are middle aged, you are a fool to do otherwise.

https://www.bloomberg.com/news/articles/2019-07-19/divorce-destroys-finances-of-americans-over-50-studies-show