NO, the two are not connected.  You  may have been eligible for DACA but it does not necessarily mean that you are eligible for permanent residence.  If you entered the US unlawfully, under the current immigration laws you are not eligible to legalize your status within the US to permanent residence.