you need to re-read the chapter when kabuto explain how the edo tensei worksYou don't need the soul when you resurrect, they mindless. If you're talking about the fight between the 3rd and Orochimaru when you said "it didn't work", then the reason is not because the soul wasn't there, remember the 3rd did something so that the coffin wouldn't be summoned.