I can think of one time that the FARs require you to log PIC time when you are not in a pilot seat. If you are assigned by your employer as Captain in a 121 Flag operation with scheduled flight time over eight hours for an aircraft with a required crew of two, or twelve hours for an aircraft with a required crew of three, you need a relief pilot. The Captain continues to log PIC while he is in the bunk.
Joe