Where a person is imprisoned in a state prison, for a term less than for life or in a penitentiary or county jail, for a criminal offense, for a longer term than one year; one or more trustees, to take charge of his property, may be appointed, as prescribed in this article, by the county court of the county, or the supreme court in the judicial district, where he resided at the time of his imprisonment, or if he was not then a resident of the state, where he is imprisoned.
N.Y. Correct.Law § 350