Because damage remains marked on a creature until the damage is removed as the turn ends, nonlethal damage dealt to Elves you control may become lethal if Imperious Perfect leaves the battlefield during that turn.