That's simply not true.
While TV and movies routinely hire an experienced cop as a consultant, and while those consultants occasionally appear on-camera, the people playing all the other cops with speaking roles are actors.
There are a few actors who used to be cops. Dennis Farina, David Zayas, and Joseph Kosala come to mind.
Plenty of actors become typecast, playing one cop after another. Dennis Franz, anyone?