Yup - in my state if you sleep with your spouse up to SEVEN years once an affair is discovered it also "wipes the slate clean" as far as the law is concerned.
My attny warned me up and down to NOT sleep with my H (lol, no chance of that happening) under any circumstance as it means I essentially "consented" to his affair while we were legally married therefore any mention of it would not matter as I consented to sexual relations with my H. Not exactly sure how one would prove they did or did not but don't make that mistake again as far as the law is concerned.