I'm not sure, I like to think of myself as an abolitionist but the more I think about it the more I can't make my mind up.
I think a socialist society is going to need some form of police or a rapid response service like firefighting, and ambulance to get to emergencies but I don't think this service needs to be wandering the streets like the police does today and also removing what they do to only dealing with violent crimes like someone getting attacked for example everything else they do should be its own service like a mental health response team, a road accident response team etc
Ideally most crime should be "solved" because everyone would and should have all their needs met and a similar start in life with the same opportunities without worrying about if you can afford it or not.