If you check this out on snopes they aren't sure if it is true or not but the important part is about *77. It is not the same in every state and they suggest it is better to call 911 instead.
http://www.snopes.com/horrors/mayhem/fakecop.asp
Either that or check what the number is in your state before you might ever need it.