When to stop working during pregnancy?

I stopped working when I was 39 weeks pregnant. I do a lot of physical labor work so I couldn't really continue to do that.

Moms Expertise
    I worked for as long as I could which ended up being 40 weeks 1 day (Friday). My daugther was born two days later (Sunday). Thankfully, my company allowed me to work from home the majority of the last month. If I did not have that option, I would not have been able to work starting at 37 weeks. My doctor did not want me at the office due to a few minor complications that required regular treatment and I also needed to keep my feet up with all the swelling. I have a long commute and we have a fairly large office space. It took me forever to walk to the bathroom - somewhere between eight and nine round trips is a mile!
    I had a lot of swelling in my legs and feet too!
    About Lindsay
    Birth: April 11
    On Moms.com since: Dec 24, 2013
    ~Team Player (Baby)~ 33 years old, married. SAHM. I love my husband and daughter so much!