Salamvalekum
[He] who created death and life to test you [as to] which of you is best indeed – and He is the Exalted in Might, the Forgiving [Al-Mulk , 67: 2]
Thus, death is not nonexistence, but one of the creations of Allah just as life. Allah, all praise and glory is to Him, created death just as He created life. Both are the creations of Allah. Each is governed by its own rules, its time of occurrence and its events. Only Allah, all praise and glory is to Him, is The One Able to transfer His creatures from the world of death to that of life, or from the world of life to that of death.