This comes up a lot, and always generates a lot of very . . . impassioned discussions.
Personally, I don't think that an employer has any place to say anything in the matter unless they're going to provide armed security for you, and a lockbox on the premises or an escort to your vehicle after work. Especially for female employees, who are at the greatest risk for physical attack as they leave their workplace.