People with depression dream of imagery involving death. This is because depression is a state of paralysis or inability to live normally. Depressed people may dream of dead children. This expresses their condition; they are in their prime of life (like children), but are dead in the sense of being negatively impacted by depression.
Depression is negative which shows in the dream. The dead children can’t be revived no matter how much efforts are spent on them. This is because the dreamer is depressed and in his/her negative state, there is no hope to revive the dead children.
A person who is recovering from depression will dream with hope. If they see dream imagery of dead children, this will be compensated by seeing the dead kids returning back to life. This dream imagery means the depression is leaving the person; represented by seeing dead children being revived to return to life.