Yes, it is legal, unless you have a written employment contract to the contrary. Without a written employment contract, you are an employee at will, and an employer may send home or suspend demote even terminate an employee at will at any time, for any reason, even for smoking or smelling of cigarette smoke. Employees at will essentially do not have any rights in or two their jobs, and so employers can do whatever they like to them about their employment.