So, you are going to apply for an initial in-country Non-O visa based on marriage to a Thai male. You can apply for it anytime now, as long as you still have
*****
days (depending on your local office) remaining with your current stamp.
You don't have to wait for a specific time.