If you want to be NHRA legal it has to be no further back than 6" behind the front u-joint.

The idea is to prevent the front of the driveshaft from falling and digging into the ground if the front u-joint or yoke fails.