I've seen the referee award advantage (and the announcer will indicate as much). I get the sense that advantage only lasts for the next couple of touches. I've seen possession get turned over and a free kick not awarded afterward.
So, how long does advantage last after awarded?