It’s not as broad as you think.
I believe you need to have at least one parent be a resident citizen of the United States within five years prior to the birth of the child.
I think that is about right.