It was enacted, therefore, by the st of James that the forty days undisturbed residence of any person necessary to gain a settlement, should be accounted only from the time of his delivering notice, in writing, of the place of his abode and the number of his family, to one of the church wardens or overseers of the parish where he came to dwell.