Defending yourself against theft or agression is ALWAYS a good thing.
In any State in the US, if you shoot a law enforcement officer in the conduct of his duties and kill him, you will be convicted of murder and be sentenced accordingly.
And bring vaseline because you will need it.