Till the end of the turn.
Lets say this:
Turn 1: Haunter used destiny bond
Zekrom used Swords dance
Turn 2: Haunter used shadow ball
Zekrom used dragon claw, Haunter faints but zekrom doesn't.
But if haunter fainted from zekrom's attack the turn it used destiny bond, zekrom would faint too.