Most teaching hospitals are in iffy neighborhoods, true. But there is generally a parking structure or lot.
Yes, but you would have to live some distance from the hospital to get to a neighborhood with safe parking. A med student has to work very long hours and driving a half hour after work doesn’t sound appealing after a 12 to 16 hour shift.