This Pershing story has just been discussed on the H-WAR military history bulletin board, and its validity is in great doubt.
I make no claim to having special insights into Islamic theology (my grasp of Christian theolology is tenuous enough), but it seems to me that God (or Allah) is not going to condemn a soul based on the method by which the body is interred.