702.15c

If an object changes zones before an effect causes it to deal damage, its last known information is used to determine whether it had lifelink.