Is this kid illegitimate ?

And what ill for the society , or the kid or the father or the mother you see from moral ,societal or religious point of view if that woman decides to get pregnant without having any physical contact with that sperm donor ?