@Ham *******
technically you must apply from the country you're in. I know at least one person has tried and they were rejected because the flight they submitted on the application didn't originate in their home country.
You can check the evisa site and put what country you're from and what country you're in, it's possible that you could still be eligible for evisa even if you're not at home.