Incarceration is the state of being in prison. If you don't fancy incarceration, don't go through with that bank heist.
The noun incarceration comes from the Latin word carcer, meaning "jail." There are many different types of incarceration. If you commit a crime and get locked up, that's one form of incarceration. Some people might feel that school is a form of incarceration. Some highly religious people think of the body as an incarceration of the spirit. A great synonym for this word is captivity.