Asylum is an international concept negotiated by treaty. You apply when you arrive - that's true everywhere.