The fact of the matter is whether religious or state declared

Adultery is punishable everywhere

In US these kind of laws are called Blue laws and usually not taken seriously