The only rules in marriage are the ones you and your spouse agree to. Some couples consider it cheating as soon as you simply flirt with another person, while others are OK with their spouse having sex with other people. So whether it's cheating or not is purely a function on the couple involved.