(a) A releasee while on parole is in the legal custody of the division.
(b) A releasee while on mandatory supervision is in the legal custody of the state.