Until he resigns :) j/k
It depends on what the time control is, how deep the game goes into opening theory, how aggressively or passively we play (type of position), and what you mean by last.
In classical, I would say over 20 moves and less than 40 moves before a resignable position. If my...