Let's read that into John 11:43-44:
When he had said these things, he cried out with a loud voice, "Lazarus, come out [if you so choose]." The man who had died [heard the call, was given prevenient grace, decided to obey Jesus, and] came out [of his own free will], his hands and feet bound with linen strips, and his face wrapped with a cloth. Jesus said to them, "Unbind him, and let him go."I suppose Jesus chose to raise Lazarus based on his foreknowledge that Lazarus would choose to obey. Or am I completely off-base here?