Driving after giving birth

How soon after a vaginal delivery can I drive? My doctor said I can drive when I asked her at discharge but is it really safe? Have any of you ladies got behind the wheel right after birth?