It depends on the issue whereby that can cause divorce. In a case where a partner is violent always which could lead to dealth when there is misunderstanding. If the other partner choose to divorce due to phobia that he/she may be a victim of violent it's better than to lose life .
Divorce is not something pleasant, it is not an easy thing to build a sacred marriage bond. It's disgusting when simple matters have to end in divorce.
But if you have experienced domestic violence, I think divorce is the best solution to get rid of the trauma