This goes under the heading of trivia question theology. It was discussed in a Facebook group that I am part of. My answer is that when Jesus appears in the upper room to his Apostles, and later to Thomas in particular, he has been resurrected and appears in his glorified body. He can do things like appear and disappear in rooms with all the doors and windows closed. He instantly disappeared from their sight once the men on the road to Emmaus recognized who he was. He showed Thomas the nail prints in his hands and let him feel the wound in his side. Why would Jesus have these wounds after his resurrection? While I believe that there will be no sickness or death in heaven, and that we will be healed of all infirmities, our identity is hid in Christ and his redemptive work is very much tied tied to his death on the cross. Calvary is the point where heaven touches earth. His wounds may be visible for this reason; they are a major part of his story. Those marks define the crucified savior, the suffering servant of Isaiah 53. My reasoning for the wounds being visible may be speculative but the fact that we see Jesus with them after the resurrection is firmly based on the Gospel accounts.
There was one individual in the discussion insistent that when we meet Jesus in heaven he will not have any visible signs of the crucifixion on his body based on the fact that the Bible does not say he will have them. He proposes that the visible wounds were a sign for Thomas the Apostle so that Jesus could prove himself to him. We know that post-resurrection the scars were in his hands. Even though the Bible does not say they would be there later, i.e. in heaven, the Bible really doesn’t say it was just a show for Thomas’s benefit. There’s an infinite number of things the Bible doesn’t say. We could go on forever. But this particular man is sure Jesus will have no scars in heaven, and that we cannot prove he will, because the Bible doesn’t say he will. Granted… but it doesn’t say he will not either. The simplest explanations often prove correct. Since the resurrected Jesus had nails prints in his hand I see no reason to complicate the issue and make convoluted claims with no basis in scripture.
That’s my opinion, yours is welcome.