To spend time in prison or jail.
To be confined in prison or a similar institution, typically for wrongdoing that violates the law.