The Space Shuttle , before its retirement , was also used for cargo transfer and would often switch out expedition crew members , although it did not have the capability to remain docked for the duration of their stay .