That's right, some people need to learn that semantics and the law count in a debate. If a police officer is trying to effect an illegal arrest you have the right to resist , up to and including killing the cop. The burden however is on you to prove the arrest attempt was illegal, not the other way around.
Likewise if the arrest is in good faith, you have NO right to resist and police can respond with deadly force to effect that arrest if necessary.