It does not count dead players because dead players cannot carry anything. But you can get distance to a dropped object from a FLAGRETURN goal.
foreach(g in Util.GoalTable("FLAGRETURN.*"))
{
d = DistanceBetween(g, Vec3(-1824, 2115, 4));
Util.MapDebugPrint("Distance " + d);
}