We don't know for sure, but it is often said that the father wasn't dead in that story. That is the person in question was really saying "I don't want to tell my family what I'm doing, once they are gone I'll follow you". (timelines are not clear, but Jesus likely died a couple years latter so the opportunity to follow Jesus would have ended long before the parents died)
> Let the dead bury the dead