For example, a woman is required by the law {the law requires a woman} to obey and be faithful to her husband as long as he is alive. But if her husband dies, she is freed from having to {no longer has to} obey the law about remaining married to her husband.