Can you be arrested for talking back to an officer?

Its protected under your first amendment right to freedom of speech. In the USA you have the right to speak your mind and criticize the government, though it might not be a good idea to get in a screaming match with a police officer. They can get away with almost anything.