Brothers and sisters, I'm talking to you as people who know the Law. Don't you know that the Law has power over someone only as long as he or she lives?
References for Romans 7:1
A married woman is united with her husband under the Law while he is alive. But if her husband dies, she is released from the Law concerning her husband.
So then, if she lives with another man while her husband is alive, she's committing adultery. But if her husband dies, she's free from the Law, so she won't be committing adultery if she marries someone else.
Therefore, my brothers and sisters, you also died with respect to the Law through the body of Christ, so that you could be united with someone else. You are united with the one who was raised from the dead so that we can bear fruit for God.
When we were self-centered, the sinful passions aroused through the Law were at work in all the parts of our body, so that we bore fruit for death.
But now we have been released from the Law. We have died with respect to the thing that controlled us, so that we can be slaves in the new life under the Spirit, not in the old life under the written Law.