An escapee from a state penal institution who is recaptured and returned to custody shall be credited with all of his actual time spent incarcerated within the State of Alabama prior to his transfer and return to the custody of Board of Corrections (penal system). The actual time spent incarcerated pending return to custody of the Board of Corrections (penal system) shall be certified by the sheriff on forms to be prescribed by the Board of Corrections.