Getting a PhD in Elbonian Studies while teaching at the University of West Central Elbonia sounds fine. Even if unaccredited in the US, it trumps not teaching at all.
Chime. If you are productive and have the right qualifications for your next job, where you are may not be a big issue. Accumulate the kinds of experiences you need, and make sure you can do that at your job (teaching, grants, pubs, etc. in the combination you need for your dream job). Who know, maybe your dream job will turn out to be the one to which you are applying.
Good luck!