AFAIK it's voluntary, no? Also, given the choice between working 8(?) hours a day, or sitting staring at a cell wall for the same hours, which would you pick? (I'd pick the work)
But if it's completely voluntary, and you won't face any direct nor indirect retaliation for refusing, then I have less of a problem with it (it still distorts the labor market when they take jobs from people not incarcerated, and the taxpayers are the ones subsidizing those jobs.)