Do Not Disturb is a separate iPhone setting and does not turn off or impact your location services when turned on.