If someone has brain damage or a mental illness or whatever that prevents them from fully accepting Gods grace and they seriously would need it they may get a chance to repent after they're dead. Death doesn't have to be the cut-off point for acceptance that isn't written anywhere.
Come all ye faithful joyful and triumphant.