Habits can be broken. A Sacramental marriage cannot. The person with the habit owes it to God and his or her spouse to work to overcome it.
Living apart does not dissolve the marriage. It does provide the circumstances, sometimes, in which an erring partner (or partners) can gain wisdom.