It's important to separate the roles police play. Sometimes they are detectives, solving crimes. Sometimes they are traffic enforcement, mental health interventions, noise violation enforcement, violent robbery halters, etc. Not all of these roles need be filled by an armed central full time force.
While I'd personally push for removing most of those roles from a police force, and I believe that communities could do so safely and better with more community run organizations, as an anarchist I believe it should be up to communities to decide what's right for them. If a group decides they really want police, then they should do that. I'd disagree with their decision, but that's ok.