While probably good advice in US it's very sad of affairs it gets repeated. It's not something we should have in civilized society. If people learn to just refuse to talk in routine situations then both trust and ability to investigate goes down a lot. It's also terrible advice in some other countries where failure to cooperate and answer questions could be used against you.