The department of corrections is authorized to contract with the United States or any other state to provide custody and housing within the department for offenders convicted and sentenced to a prison term.