Times are expressed in minutes, and a value of 0 indicates that idle agents should never be terminated.
As Jenkins doesn't check the idle status of agents every minute even if you tell it to (it might skip checks for a few minutes), Jenkins might terminate the agents a few minutes late of what you specify in this field.
Negative values (e.g., -1) cause the agent to terminate immediately when it becomes idle, checked every 6 seconds for faster response.