I know when and where he took his last shit: anywhere between a few seconds and a few minutes after he got domed.
...Dead men still shit. This is a fact that is simultaneously hilarious and disturbing, much like the corpse reveal on every episode of Bones.