You cannot undo any commands in Minecraft. /kill @e is a command therefore it cannot be undone.
/kill @e