Hashem promised that Aharon would get Teruma.
Aharon died before we entered Israel and before any Teruma was set aside.
Reb Yochanan uses this as proof of Techiyas Hameisim in the Torah.
Elsewhere, Reb Yochanan state that Mitzvos will be annulled at the time of the resurrection, so from whom will Aharon get Teruma?
A discussion of why mitzvos will be rescinded after the rising of the dead: either because mitzva obligations lapse when a person dies and don't return when he is revived, or because the epoch of the rising of the dead will be free of mitzvos- a ptur on the Gavra or on the Tekufa.
Many are of the opinion that Reb Yochanan never meant that mitzvos will be rescinded, and when he said "B'teilos le'asid lavo" he meant that mitzvos will become kiyumis, or that people will be like malachim, so intensely aware of Hashem's will that the concept of commandment and choice will become meaningless.
Our passuk says
The Ritva in Niddah says that although mitzvos will not be obligatory, people will fulfill them out a desire to do Hashem's express will, as a kiyumis.
In any case, to address the burning issue of the day: Can you count a resurrected person to a minyan? It depends on the opinions of the rishonim on how to understand Mitzvos B'teilos L'asid Lavo. According to some, this means that any person that was once dead is not chayav in mitzvos, and so cannot count toward a minyan. According to others, the ptur mitzvos is not on just anyone who was once dead. It is on the time of the general resurrection of the dead. So the Ben Hashunamis and Elisha's ganav would count toward a minyan.
Here's a Tosfos (BB 74a) which gives a nice overview of all the Gemaros that talk about this.
Background: the Gemara there is one of Rabbah bar bar Channa's stories in Hasfina. In this one, he is in the desert and is shown the bodies of those who died during our forty years of wandering before entering Eretz Yisrael. He cut off the tzitzis on the garments of one of the bodies (because he wanted to use them to prove who was right in the machlokes Beis Shammai and Beis Hillel about how many threads are in the tzitzis,) but he found himself stuck and unable to move. His guide told him that whoever takes something from these bodies is thus stuck, and when he put it back, he was released. Tosfos points out that evidently they were buried wearing their Tzitzis.
פטורים כדאמר (שבת דף ל.) כיון שמת אדם נעשה חפשי מן המצות
אבל קשה על המנהג שנוהגים להסיר ציצית מטליתות של מתים
And just because if you're reading this you might be interested: