Hi Ari,
In follow up to the a comment made by Drew Sailbum above, "...there is no reason you can't dive immediately after landing."
Actually, there are some reasons you might want to delay diving for a bit after flying, although they have nothing to do with N2.
Given that it's reasonable, I often dive as soon as possible after landing. For me, this means I just flew to Cozumel, not to Fiji.
You should endeavor to drink as much as possible to counteract the well-known drying effects of air at altitude, and for the same reason to avoid alcoholic & caffeinated beverages. Also, get as much rest as you can.
If you arrive alert, well rested, well hydrated, feeling fine & in good spirits, diving shortly after flying likely adds no additional concerns. If you're jetlagged, dehydrated, fatigued, feeling lousy & irritable, then it might be wise to save the scuba for the next day when you've recovered.
Best regards.
DocVikingo