Here:
Matthew 8:22
English Standard Version (ESV)
(22)And Jesus said to him, “Follow me, and leave the dead to bury their own dead.”
Jesus refers to living people as "the dead." He was using symbolic or figurative language.
In the case of Matthew 8:19-22 the answer to Jesus invitation to be his follower was permission to leave and bury his father.
If it was a real funeral that day the man would Not have been listening to Jesus but be at the funeral.
He would have been asking Jesus to come resurrect his father if his father was already dead.
So, the father was Not yet dead, but the son was begging off for time to later become Jesus' follower after his father later died in the future.
In other words, the man was Not willing to put kingdom interests ahead of his own wants. Whereas Jesus put kingdom interests first - Luke 4:43
That man was similar to the man who wanted to first say good-bye to his household, but Jesus said Not to put one's hand to the plough and look back.......
If one does Not keep his eyes on the kingdom, just like a ploughman who looks away, or looks back, then his life will not keep a straight spiritual path or symbolic furrow.
- Luke 9:60-62
All the actually dead people who Jesus resurrected were brought back to healthy physical life on earth.