Peggy Whitson set a NASA record for spending the most cumulative days living and working in space at 665 days.

Source