“And I say to you, whoever puts away his wife, except on the ground of whoring, and marries another, commits adultery. And whoever marries her who has been put away commits adultery.”
So then, while her husband lives, she shall be called an adulteress if she becomes another man’s. But if her husband dies, she is free from that part of the Torah, so that she is not an adulteress, having become another man’s.
The wife does not have authority over her own body, but the husband does. And likewise the husband does not have authority over his own body, but the wife does.