My step sisters daughter lived with me for about 7 months. She now lives with her grandparents and mom is incarcerated. Can I claim her?

do I need some kind of documentation? also how can I find out if my tax refund will be taken?