It's certainly possible to do a TEFL course abroad, outside of your home country. It can be advantageous to do one in the country you'd like to teach in because you'll be able to make contacts and connections for jobs during your course.