It says that you "touch a dead creature . . ." So, I'm picturing you bringing the dead creature, and while touching it, activating the spell glyph.
This is something i've wondered ever since there was the errata and the podcast about targeting where JC explained what "target" actually means. And is another level of "problematic" that can be opened up.
I'll try to be brief, since i do not want to open a biiiig can of worms, just bring my perspective.
Glyph of Warding works with either a spell that targets a single creature OR with a spell that targets an area.
If we take at heart that a "target" is "someone that the spell affects", then pretty much NO spell can be put into a Glyph of Warding, since most spells have an effect on the caster and then on another "touched/pointed/selected" creature, making the spell have 2 targets, being inelegible to be put into a Glyph - making your described way of resurrecting "non RAW" because of "amounts of targets" - and not affecting an area.
Even if not going this route - why would Resurrection be any different than, i dunno, Melf's Acid Arrow? Why is not the creature activating the Glyph gaining the ability to "cast" the spell if this is how the Glyph works? Why should we distinguish between the two spells as one "attacking the triggerer" and the other "making the triggerer the caster"?
If we take that the target is only the "creature" that the spell actually affects - the one touched in the case of Resurrection - than we can have the effect working on a single target.
But... is a "dead creature" a "creature" or an "object"? It's something that, as i wrote before, i'm really unsure how it's fairer to adjudicate. It's clearly an object - it's a corpse. It was clearly a creature, and the is probably mostly what was in life. But... is the head of a dead creature enough to cast Resurrection? Possibly? Is half the body enough? Are those still "creatures"? Are the rests of a 99 years old dead creature still a "creature"?
But if it's a thing, then by RAW it's not possible to inscribe Resurrection in a Glyph of Warding even on this reading of "target".
I guess a DM may rule that the Glyph can only target whomever triggered the glyph, in which case I would make the trigger be that whenever a dead creature touches the glyph (or narrow to humanoid, human, elf, etc.)
Maybe I'm not reading the rules carefully enough, but I'm not seeing why this would not work with the RAW.
RAW Glyph of Warding can only "cast" single target spell that specifically target creatures OR spells with an area of effect. If the spell targets the single creature, the triggering creature becomes the target. The point of me being unsure is... is a "dead creature" a "whomever" or a "whatever"? To me, it's more of a "What" than a "Who" - making Resurrection not inscribable by RAW.
Again, as i've said, i'm not sure that the distinction is RAW, however. But, without thinking too much on it and seeing if the other way around could not break other things, i think this is the safest route to take.
In the end, again... is a "Dead creature" a "creature" or an "object", for targeting purposes?
----
Little Late Disclaimer - Rule of Cool > anything, obviously. Just sharing a point of view about why i have some perplexities and i'm reticent of judging this as "RAW OK".