Time is a consumable. It is not infinite, and it is unique to each individual.
We do not "trade" time in jail between society and an individual. We deny certain freedoms for a period of time. There is no economic equivalent when it comes to time.
Learning is a process that consumes time now for improved capability or efficiency in the future.