Where a convicted person becomes unlawfully at large during the period of his or her detention or imprisonment, the time during which the convicted person is unlawfully at large shall be deemed not to be time spent in serving that detention or imprisonment.