All oaths and affirmations required or authorized to be taken by any statute of this state, when the person required to make the same resides out of or is absent from this state, may be made before and administered by any notary public or clerk of any court of record of the state wherein such person may be, such notary or clerk certifying the same under his notarial seal or the seal of such court.