You cannot change your status if you weren’t “inspected on arrival” (have a visa) and you’re banned from re-entering the country to be “inspected” for a decade after you leave. So if you overstay your visa you could change to permanent residence since you were “inspected” but if you never had a visa in the first place there’s no pathway to legal residence even if you’re married to an American citizen and have American citizen children.
You cannot change your status if you weren’t “inspected on arrival” (have a visa) and you’re banned from re-entering the country to be “inspected” for a decade after you leave. So if you overstay your visa you could change to permanent residence since you were “inspected” but if you never had a visa in the first place there’s no pathway to legal residence even if you’re married to an American citizen and have American citizen children.