This is sometimes factually incorrect. You are legally obligated to identify yourself in certain situations and refusal to do so will get you arrested. If a cop “suspects you of having committed a crime” in a state with a statute for stop and identify you legally have to do so. 23 states have these statutes. The statues vary a bit and generally require probable cause but the bar for that can be quite low (eg are you black and outside? Probable cause!)
And of course if you are operating a motor vehicle you are required to identify yourself when stopped
Blanket statements like yours are misleading and confusing. They lead to people getting seriously injured or even killed because they then believe that they truly can legally say absolutely nothing to cops ever with legal impunity, which is often not the case. Cops don’t respond well to people not following the rules correctly. The rules are confusing, likely intentionally
States with stop and identify laws Alabama: Police may demand identification Delaware: Police may demand identification Florida: Police may demand identification Illinois: Police may demand identification Kansas: Police may demand identification Missouri: Police may demand identification Nebraska: Police may demand identification New Hampshire: Police may demand identification New York: Police may demand identification North Dakota: Police may demand identification Rhode Island: Police may demand identification Utah: Police may demand identification Wisconsin: Police may demand identification
There has to be “reasonable suspicion” of a crime for this but again, all this potentially means is a crime occurred “nearby” and you “match the description (eg are black). Guaranteed the cop will be shielded in court 90% of the time
Further, other states cops can demand you identify yourself under the same circumstances although they can’t demand ID