What is the maximum time a person spent in space?

not in space, but in general.