My recollection is hazy. I seem to recall that it was both while he was in the womb and the three days before he was resurrected. I could be wrong ^_^ Since they felt the wounds, it would make more sense after the resurrection.
The Book of Mormon record shows that he visited the America’s after his resurrection.