In order for you to receive a residence permit based on family ties, you must be your child's guardian.
Para poder obtener el permiso de residencia por vínculos familiares, usted deberá tener la custodia del menor.