For I, the Lord God, delight in the chastity of women, Jacob 2:28
Chaste: innocent in unlawful sexual intercourse, pure in thought and act.
Simply put, stay faithful to your husband. You should not have sexual intercourse with anyone but your husband irregardless or the circumstance or how justified you feel. Committing adultery is something that God looks down upon. "Thou shalt not commit adultery." Ex. 20:14.
As I have stated from before, our body is God's temple. EVERYTHING that we do to our body has to be pleasing in the eyesight of God because ultimately it is his body, not ours. I found this excerpt from the Theology of Chastity and it said, "Chastity is more than just not having sex outside of marriage - it's an attitude, an approach to life, a commitment to live right before God, according to His standards, and not the standards of the rest of the world." So it's more than an act, it's a lifestyle that we have to uphold as women, period.