After? Obito would have been dead had he crossed paths with him after the war. Madara must have saved Obito from death, and we get that scene where Obito wakes up, surprised that he hadn't died.
I wonder though, how is it Madara was restored to his youthful appearance? A theory is that, prior to his own death, his DNA had been extracted for use in the edo tensei technique. However, the second died before he could do it, and then Oro, and now Kabuto "inherited" that outdated DNA containing his youthful self.