Iirc there was a residency requirement in 1790 or 1795 or both.
The residency requirement was for naturalization. There was no residency requirement for a qualification for natural born citizen status. The residency requirement was changed from 14 years to five years. Nothing in either statute required that a mother must live in the US for any specific time before giving birth to a Citizen in a foreign country. All that was required is parental citizenship status at the time of birth.
the five year after the age of 14 requirement in place at the time of Obama's birth is inconsistent with the definition of an NBC as defined by the First Congress. Therefore, I don't believe the requirement was effective to deny Obams NBC status if, in fact, he was actually born in Kenya.