Can you be fired for refusing mandatory overtime?

If you signed a hire contract that states the need to occasional mandatory overtime, and you do not accept it, then that is all the basis that an employer needs to justify termination.