Days earlier, as Jesus talked about suffering and death, Peter said, "Lord, be it far from Thee. This shall not be" (see Mat 16:21-22). Here, however, as he sees the glory of the Transfiguration, even though death was again the topic of conversation (Luk 9:31), Peter says, "Wow! It's good that we're here."
This is one of many arguments against reincarnation. Moses and Elijah returned not as cows, butterflies, or someone else living in some other time. They returned as Moses and Elijah. It is also interesting to me that Peter recognized them instantly. There is no record of a formal introduction, no record of Jesus saying, "Peter, meet Moses. Moses, Peter. Elijah, Peter. Peter, Elijah." No, there was simply immediate recognition. This tells me that when we get to heaven, we'll recognize everyone there. No need for introductions, no need for nametags, and no forgetting of names. Won't that be wonderful?