No prisoner, or resident subject to s. 303.01 (1) (b), may be compelled to work on Sunday or a legal holiday, except if the work is necessary household work or when the work is necessary to maintain the management or discipline of the institution.