It's not illegal to cheat on your spouse, that means it's moral to do so.
then it's immoral in oklahoma and not immoral in california
Only if you believe that there is no separation between legality and morality. Personally, I choose to believe in a fixed moral code.