Yep.
There was a guy in Texas a few years back who did the same and ended being held for two years while awaiting trial.
He was acquitted but possibly never would have been in the position in the first place if he had not talked to the police and the media.
Neither are your friends.
So shut up.
Cop: I want to hear your side of the story. Help me understand what happened here.
Translation: Tell me something incriminating so I can arrest you.
Absolutely great advice. STFU until you talk to a lawyer, and that means, friends, family, your co-workers and your family pet.