While Voldemort doesn't know this, he accidentally
turned Harry into a Horcrux.
That, plus the prophecy, implied that in order to defeat Voldemort for good, Harry had to die
temporarily, thus "destroying" the second-to-last Horcrux left.
Concerning the "not resisting", it would have been pointless since Harry's Death was necessary. His dying without resistance also made Voldemort pretty overconfident (well, even more than he was before, anyway) and give his lengthy "surrender now, I killed your Harry without effort"-speech, which both actually encouraged the resistance and probably gave some additional time for
Harry to return to life
before going on to attack those who opposed him.