Under FAA regulations, you cannot log flight time toward a certificate or rating if you are flying strictly as a passenger. "Logging" time is a legal record of aeronautical experience, and it is reserved for pilots who are the "sole manipulator of the controls" or are serving as "required crew members" (such as a safety pilot or flight instructor). If you are a pilot flying in the passenger seat of a friend's plane, you can certainly record the flight in a personal journal for sentimental reasons, but it must not be added to your official pilot logbook totals. Misrepresenting passenger time as flight time can be considered a fraudulent entry, which can lead to the suspension or revocation of a pilot's license if discovered during a checkride or FAA inspection.