Resilience in children refers to individuals who are doing better than expected, given a history that includes risk or adverse experience. Simply put, resilience requires two conditions to be met: (1) the child must have experienced some sort of risk or adversity that has been linked with poor outcomes, and (2) the child is generally doing okay despite being exposed to that risk or adversity; they are not showing that poor outcome.
The dominant view is that resilience is a description of a group of children. It is not a trait or something that some children 'just have.' There is no such thing as an 'invulnerable child' who can overcome any obstacle or adversity that she encounters in life. Resilience is not a rare and magical quality. In fact it is quite common. Resilience is the product of a large number of developmental processes over time that has allowed children who experience some sort of risk to continue to develop competently (while other children have not).Research on 'protective factors' has helped developmental scientists to understand what matters most for resilient children. Protective factors are characteristics of children or situations that particularly help children in the context of risk. There are many different protective factors that are important for resilient children. Two that have emerged time and again in studies of resilient children are good cognitive functioning (like cognitive self-regulation and IQ) and positive relationships (especially with competent adults, like parents). Children who have protective factors in their lives tend to do better in some risky contexts when compared to children without protective factors in the same contexts. However, this is not a justification to expose any child to risk. Children do better when not exposed to high levels of risk or adversity.
Resesarch
 the United States, children who experience homelessness are a group that tend to encounter higher rates of adversity, including those literally related to residential instability (e.g., loss of home or social connections)  as well as other stressful life events like exposure to domestic violence or parental incarceration. In addition, children in homeless families tend to be in single-parent, low-income households. Because of the presence of these risks, homeless children usually are considered to be at the high end of a continuum of poverty-related risk.
Despite these risks, many homeless children manifest resilience by continuing to show developmental competence. For example, multiple studies have found that many individual homeless children have reading and math achievement scores that were in the range expected for any student, even though average scores for homeless children as a group were much lower than other children in the same school district.
Not surprisingly, the protective factors that help keep development on-track for homeless children are generally the same ones that matter for other at-risk groups of children: better cognitive functioning (such as IQ and executive function skills) and positive relationships with at least one competent adult (especially parents).
Research on resilience among children experiencing homelessness has increasingly taken a developmental-ecological perspective, with an emphasis on untangling the complex developmental processes that contribute to, or interfere with, positive adaptation. A demonstration of this involves the interplay between two protective factors: positive parenting and good cognitive functioning. Kindergarten-aged children staying in family emergency housing did better at school if they had more competent parents or if their parents showed more positive parenting behaviors.More interestingly, competent and positive parenting was related to better child cognitive functioning (executive functioning and IQ scores) which, in turn, explained why these children did better at school. Meanwhile, children who showed better academic achievement in first grade were more likely to continue to show good achievement across the school years.Positive parenting seems to protect and encourage better cognitive functioning, which the child then ‘takes to school’ as a tool to help function competently in that context.