You are free to speak freely. Your employer is free to fire you based on said speech. There is no legal protection from being fired (unless you work for the federal govt in which case it might be different).
Yes, employers can fire you for any reason, but they can't openly fire you for Facebook posts. They can get sued for it. But no one here really cares what you post on Facebook.