If a correctional facility or any adjoining building shall be on fire or another emergency occurs, and the inmates may be exposed to danger, the correctional facility staff shall remove the inmates to a place of safety, and there confine them as long as necessary to avoid the danger. The removal and confinement shall not be deemed an escape of such inmates.
N.D.C.C. § 12-44.1-19