Romans 7:2

2 Thus a married woman is bound by the law to her husband as long as he lives; but if her husband dies, she is discharged from the law concerning the husband.

Romans 7:2 In-Context

1 Do you not know, brothers and sisters —for I am speaking to those who know the law—that the law is binding on a person only during that person's lifetime?
2 Thus a married woman is bound by the law to her husband as long as he lives; but if her husband dies, she is discharged from the law concerning the husband.
3 Accordingly, she will be called an adulteress if she lives with another man while her husband is alive. But if her husband dies, she is free from that law, and if she marries another man, she is not an adulteress.
4 In the same way, my friends, you have died to the law through the body of Christ, so that you may belong to another, to him who has been raised from the dead in order that we may bear fruit for God.
5 While we were living in the flesh, our sinful passions, aroused by the law, were at work in our members to bear fruit for death.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.