On the last day of the year, do you consider her your daughter or foster child or is she your granddaughter? Is she still in the foster care system? Either way, the outcome is the same. She will be considered your "Qualifying Child" for tax purposes.