Think you have asked this previously.
Not sure what you are asking.
Marriage has nothing to do with it.
If you exited Thailand and reenter with same visa (multi entry) or have a reentry permit and return to your place of residence then you do NOT need to file a TM30.
However when this is asked about, there are always folk that post "my immigration office wants me to file TM30 everytime I return to my usual place of residence".
In Thailand there will always be crackpot immigration offices that do not follow the rules.
Sakon Nakon has been mentioned and I think CM has also been mentioned.