Quarantining before birth?

Is any ones doctor making them quarantine before giving birth? My doctor said they do a covid test as soon as I get there I’m just wondering for safety precautions if it would be smart to quarantine 2 weeks prior to the due date or if any ones doctor took them out of work for this?