A god who can create the universe is so far beyond us that it would be arrogant to think that we could understand him. We are less than atomic particles on the scale of the universe but we can't seem to remember that.
God has an infinite view of time and the power to change anything that has happened. A person dying is simply going to sleep for a short time. Less than an instant in the grand scheme of things.
Sure it is hard to fathom, but then given the statements above, how could humans expect to? Maybe in a thousand years I will understand better.