Timer interrupt (ISR)
To answer your actual question, the next interrupt will not happen until you execute RETI instruction, because global interrupt flag was cleared in hardware before entering your code.

So, yes, the next interrupt depends on the code in your ISR.

Having said that, the question like this should not have happened because there is something fundamentally wrong with the code which makes it possible.