Foreigners and stateless persons can apply for a new electronic visa only after leaving the territory of the Republic of Azerbaijan.