No, it is not illegal for your employer to change your availability & to write you up or terminate you if you don't comply. The co. can change its policy. (unless you have a binding employment contract or CBA to the contrary)