The term meant finding a freshly dead man with a hard cock, as if when dying and on his way to the afterlife he got hard ready to fuck an angel when he arrived.
Often hardons and ejaculation were seen in men being hanged, it is also common in men dying violently, many corpses on the battlefield are found with cocks hard - although war films don't show it.