I can think of at least one nation that disagrees: Germany.
To quote Wikipedia "In some other places like Germany and a number of other countries, it is considered human nature to want to escape from a prison and it is considered as a violation of the right of freedom, so escape is not penalized in itself (in the absence of other factors such as threats of violence, actual violence, or property damage)."