Yes, it does.  Guardians of the Galaxy: Cosmic Rewind has both on-ride photos and a PhotoPass location outside the attraction.  There are PhotoPass photographers stationed in front of the 51-foot tall Nova Corps ship at the entrance to the ride and this is a popular photo spot with guests. Scan the datacube in the queue to link the on-ride photos to your Disney account.