in june 1971 cosmonauts stoyanov dobrovolski , vladislav volkov , and viktor patsayev occupied sputnik for 23 days , setting a new record for the longest manned spaceflight .
23 days is the record for the longest stay in space by a human.