(1) The sheriff may, in his discretion, use any person who has been convicted of a nonviolent felony and who is serving all or any part of his sentence in the county jail to pick up trash along public roads and state highways within the county.
(2) County inmates performing work under this section shall be eligible for earned time credit in the same manner as state inmates. State inmates shall be eligible for earned time credit in the same manner as other inmates confined or detained in state prisons or other state correctional facilities.
(3) Any inmate escaping while participating in the work described herein shall receive an additional five-year sentence.