User:SOTO/Forum Archive/The Reference Desk/@comment-69.125.134.86-20130401025854/@comment-6433721-20130401040155

The Doctor took the Pandorica into the exploding TARDIS. The restoration field inside the Pandorica used the power of the exploding TARDIS to reach every moment and particle of space and time (because, as the TARDIS herself said, she exists across all space and time), with a sample of the original universe as extrapolated - in the sense of "projected mathematically" - by Amy's memory of the prior universe. This restoration field - already proven powerful enough to raise the dead - resurrected all of space and time. However, as it was based off of Amy's memories, she had a chance to edit things a little - remember how the Doctor was trying to get her to remember Rory when he died? It worked this time.

I kind of wondered if there was a copy of the Doctor that got stuck outside, in the Void, or if her memories just brought him back over the line.

Does that help?