If you understand spanish, you can do it by yourself, go to immigration or secretaria de interior y policia - department - juridica, and they give you list of prerequisities (similar like for residency).
The most important is residency 2 years and not to leave DR for 2 years, after you submit it, then you can leave....and return...