The confessional is pretty good at handling all the nuances.  But confession requires remorse for the sin committed and a genuine resolve to not commit that sin anymore.  As long as the parties are still alive, divorce is an ongoing sin, and even there, the Church has created an annulment process that stretches the truth to achieve the separation that the parties seek without breaking the clear mandate that Jesus spoke of, that is, that what God has joined no man shall divide.