Persons confined in the county jail under a judgment of conviction, suspended sentence or withheld judgment rendered in any criminal case, either under a judgment of imprisonment or a judgment for the payment of a fine and costs, or persons participating in a diversion program pursuant to section 19-3509, Idaho Code, may be required to perform labor on federal, state or other governmental projects or community service projects.
Idaho Code § 20-617