Workers can turn them off-- but sometimes they don't work. (the alarms and the workers... LOL)
Homeowners turn them off too. I seldom have mine on when we are at home. Getting up in the middle of the night, when you are not quite awake, poses a danger of tripping a false alarm -- which comes with a big fine from my city, if it doesn't give me a heart attack first.