When I ride my bike, I always try to stay out of the door zone, but sometimes I'm forced over by oncoming traffic in a tight street. Many streets just aren't wide enough to stay a safe distance away from oncoming traffic and also stay out of reach of doors.
(Bicycles are smaller than cars, but cars can safely pass much closer to other cars because the risk is lower — some paint and body work versus possible serious injury. Cars typically slow way down when encountering oncoming cars in a tight street, too, making it safer to get close, but they don't do that as often for cyclists. A final factor is that I think subconsciously drivers don't see the door zone as a dangerous place for cyclists, so they think they're giving you more space than they really are. All these factors mean that a street that feels narrow when I'm driving feels just as narrow and tricky, sometimes even more so, when I'm on my bike.)
EDIT: Another final thing that makes staying out of the door zone tricky is when there's parking right next to the bike lane! This seems like an utterly brainless design, maybe it's necessary in some places for reasons I don't understand, but it's horrible and the very existence of the bike lane makes drivers aggressive towards cyclists who aren't in it. I just avoid those streets, but when I can't, I ride in the bike lane and hope not to get doored.