Family Law Questions? Ask a Family Lawyer Online.
In order to legally keep the child, you have to have a court order granting you guardianship or custody. The court can grant a temporary order for custody until your sister gets the treatment she needs, etc.
You should see if your sister will sign over temporary custody/guardianship, and if not, you'd have to file a court petition.