It is not possible to make exact predictions of how the child would be affected (that depends on many factors from her coping skills to the external support she receives from her dad)
It is possible that your friend would have wanted her child to be with her bio dad and to be in a safe home. At least hopefully he is providing for that.
The girl will go through the grief process of losing mom and also of having to adjust to the new home environment and the new "mother in law" Even though this woman may have plaid a partial role in the split of of the parents, it is possible that she is affectionate to the child.
As any individual this child will need role models, would need to develop her self esteem, etc. Those are all qualities that the family can play a role in (whether real biological or extended family)