A lot of people seem to ask questions about whether it's "possible" to have a baby during residency. Obviously it's possible! What you're really asking is: how much does it suck?
When I was pregnant with my daughter, I had a laundry list of complaints about being pregnant during residency. These are a few that still stick with me:
1) My chief resident initially told me that I could only take 3 weeks maternity leave.
2) It was generally the resident's job to hold patients' heads during flexion-extension spine films, which would come up maybe every other week or once a month. Most of my attendings understood that I couldn't be in the way of X-ray beams and would generally do it themselves. I had one attending (a mother herself) who seemed baffled by why I didn't want to do it. "But you'll be wearing lead," she pointed out. She refused to do it for me and made me find another resident willing to do it. (And the first resident I asked was a total jerk about the whole thing, immediately asking what I'd do for him in return.)
3) I had to start a new rotation during my last month of pregnancy (our rotations lasted several months). That meant the call cycle reset, so they tried to squeeze several months of call into that month for me. And the rotation itself, while not one with long hours, was physically strenuous, involving walking all over a hospital that was several different buildings spread out over maybe half a mile. I begged for any clinic rotation that would involve less walking and more sitting. No dice.
4) I had this conversation with my program director. Except we actually had the conversation via email, so the whole ridiculous exchange is saved in my inbox for posterity.
5) The tremendous guilt trip laid on me. Notably, an email was sent out by the chief saying that nobody was allowed to take vacation while I was on maternity leave. (This did not happen.) I envisioned that everyone hated me and made myself miserable over it. I don't think everyone actually hated me, although I think a few people did, and they were probably not the same people I thought hated me.
Now I have the perspective of time and I realize that my program, at the time, was just ill prepared to deal with a pregnant resident. The residents were mostly men (I was temporarily transported back to the 60s for residency) and there hadn't been any maternity leaves in 2-3 years. Nobody was entirely sure what to do. I do know there were people who stood up for me and tried to make my life easier. And in retrospect, I should be grateful to those people rather than pissed off at everyone else.
Also, I feel like I could have been a little (lot) less whiny. I think I went overboard with the "poor me" routine. Yes, I was a pregnant resident, which sucked. But it could have been worse. I could have been a pregnant surgery resident.
I think back then I lacked a certain maturity (another argument against 6 year MD/BS programs... 24 is WAY too young to be a doctor). In retrospect, I'm a little embarrassed by the way I reacted to certain "unfair" situations early in my residency. I still think the X-ray beam thing was really really wrong, but beyond that, I feel like I should have just sucked it up, realized that it was my choice to have a baby during residency, and been better at accepting my situation. It wasn't great, but it wasn't all that bad either.