Can you defend yourself if a cop decides to kill you?

I think I know the answer but just checking…