Deciding when to quit work

Christine
I have 2 jobs. One of them I plan on keeping for as long as I can and returning to as soon as I can- I can also bring baby with for that one!
My other job is retail and I hate it. I plan on quitting eventually. I'm 35 weeks and can do light stocking, cleaning and register. I feel like a main part in this job is cleaning up after my young, lazy coworkers. However, I'm always sweating 10 minutes after I get there (not because it's hot or hormones, because I need to hurry to make the store look nice before opening). The job used to be super physically demanding, but thankfull it's calmed down a bit.
When did you all quit your jobs? Or go on leave? I'm wondering if I should work there until I can't, until my due date, or a week or 2 before the due date.