idiom
do time
刑務所で時間を過ごす
Meaning
to spend time in prison
Example
He had to **do time** for his crimes.
彼は犯罪のために刑務所で時間を過ごさなければならなかった。