She was freed of her sin, but not of her obligation to continue to obey that law in the future. Let's use the example of a murderer. It is pretty obvious that this person willfully, and likely maliciously, took the life of another person. Of course it does. The law has not changed.
Murder is still a sin.
That does not mean the murderer can't be forgiven of his sin. He can be if he repents. I also believe He expects us to strive with every ounce of our being to achieve this goal in our marital relationships. Sometimes, however, marriages fail. It may be willful on our part, it may not be.