The wilful failure of a prisoner to remain within the extended limits of his confinement as authorized by § 24-3-20(b), or to return within the time prescribed to the designated place of confinement, including a local facility, is an escape and is punishable as provided in § 24-13-410.