To be honest, it should be to the nearest one. Not like right now, randomly.
But this will be kinda overpowered for the cops which are dying at the police department interior with their full weapons back which they've before they die. So in mind it would be great if it spawns you the nearest one, only if your weapon dissapears and you've to buy them all over again and/or make it with kits which you've chosen or we've to choose.
There always been unfair to be honest (as what I've seen) it is full of cops or it is full of robbers and there's no solution for that so yeah.. would be better if it's near.
In other mind I've another idea. Instead of these lockers, they should've a solution only buying them back at the reception, and making police department interiors with safe zone. Preventing mass dm in it. But this will never also happen, cause there will still have people who will abuse these safe zones somehow (+ in mind the breakout).
There's no better solution as a current one for now in my mind.