I've never understood why it is illegal. If it were legal, the pimps would have no power, and the pimps' treatment of their 'girls' is where most of the real crime occurs.
I'm a woman, by the way, and while it isn't something I'd like to do for a living, I don't see why it is illegal.