If you pay the warp cost to cast a spell, that permanent will be exiled only if it’s still on the battlefield when that triggered ability resolves. If it goes to another zone before then, it will stay where it is. If it goes to exile some other way, its owner won’t be able to cast it on a future turn.