It is always recommended that you should submit the application from country of your residence. I have witnessed 1 or 2 cases where the applicant went to their country of origin to submit the application rather than their country of residence and the application got refused.