>
not when it's protected speechIn some states in the US, you can't legally fire people for lawful off-duty activity, including political activity. There are some states where political activity specifically is protected. But, there are plenty of places where you can be fired for any reason.
In many cases where off-duty activity is protected, there are exceptions for when that activity conflicts, or (sometimes) is seen to conflict, with your employer's interests.
Even in cases where your political activities are protected and no conflict can reasonably be inferred, you may be in a "at will" jurisdiction that allows your employer to fire you for no reason, which then puts the onus on you to prove to a court that the real reason was because of your protected activities.