You need to have your rights as the biological father established by a Judge. Once your rights are established, then if anything were to happen to her, you would be awarded custody (unless there was cause not to). Also, once your rights are established, you will also have a timesharing or visitation schedule established, both parents will, so that she won't be able to keep the child away from you if she gets mad at you for some reason.