If he definitely does not want to have kids, you're right that you will resent him forever and it will be better to divorce soon. However, it's possible he has cold feet. Maybe counseling on his own would help, plus resources like this book: https://www.amazon.com/Baby-Decision-Make-Important-Choice/dp/0997500700 How long you want to wait to be sure he doesn't want kids depends on how fast you feel your biological clock ticking. If you are open to and capable of paying for/getting insurance for IVF, plus have normal fertility for your age, you still have a fair bit of time to decide. As long as you freeze enough eggs by 37 or so (though earlier is even better), you've got a good chance of having kids as late as you'd care to be pregnant. If this is not appealing to you and you want to be married again in time to have kids naturally, you're probably aiming to be married at 37, so you've got less time. You'd want to divorce ASAP, date with the specific intention of getting pregnant quickly after marriage, and get fertility testing with your new spouse to be ASAP. There are also other options like artificial insemination by 37 or so if you want to be a SMBC. I hope everything works out one way or another.
