The language of dogma develops. I think originally the idea of Purgatory was related to 2 Macc 6:18–7:42, of Eleazer and of a mother with her seven sons caught the imagination of medieval Christians. Several churches are dedicated to the "Maccabeean martyrs", and they are among the very few pre-Christian figures to appear on the Catholic calendar of saints' days. The book is considered the first model of the medieval stories of the martyrs. Hebrews 11:35 is a possible reference to this event.
It would seem to me Hebrews 11:34-37 is in connection to resurrection if one would die ( verse 34 the violence of fire ) those of Daniel 3:1-30 the angel kept them free from that violent fire.
People willing to die in order to have a better resurrection - Hebrews 11:35 B
The women who had their son's resurrected in Elijah's day died again, but the ' better resurrection ' would be or take place on Resurrection Day ( meaning Jesus' Millennium-Long Day governing over Earth for a thousand years ) when the last enemy 'death' will be brought to nothing as pointed out at 1 Corinthians 15:26 ( Isaiah 25:8 )