Yes, it depends on the extent of the problems, the crisis, and the dangers in the relationship, particularly in a marriage. If there is a real danger to health or if there is violence, it would be better to separate, but not divorce. The Church allows a temporary separation from common life.
However, there must be serious reasons for this such as protecting yourself and your children from physical harm or when there is a serious moral danger in the relationship and the shared life. In these cases, it may be appropriate to live separately for a determined period, depending on the severity of the dangers. But the person who is separating has the obligation to pray for the other, to do acts of reparation, and to always be ready to forgive. They should also be open to making an effort if the other person repents or suggests trying again to live together.
Dear visitors of Gloria Dei and all who have already written or who will write a personal message to me. I am grateful for your attention, your kindness, for your spiritual support and especially for your sacrifices and prayers for me. God may reward you!