You would have to file your application with the DMV for a driver's license and report your DUI convictions and then see what happens as to whether and under what conditions that you might be permitted to be licensed. (The court which normally issues a restricted license would not be involved given the fact that your last conviction was apparently some five years ago.)