"Prison" refers to a state* -run facility, and is used for prisoners sentenced to longer terms.
* Or federal gov't.