You have lost two babies?

And your friend just wants to "give" her baby to you?

You would need to adopt the baby before your name could be put on the birth certificate. See an attorney.