Well you can't be persecuted, prosecuted or retaliated against necessarily by a state or Federal government (subject to reason.. e.g. don't yell fire in a theater).. even if they employ you.. but with private employers all bets are off... except not sure what happens if you are a government contractor.. my guess is yes* which is why they asked her to resign.
My guess is flipping off the President is free speech.