(2) If a person is committed pursuant to section
2945.38,
2945.39,
2945.40,
2945.401, or
2945.402 of the Revised Code, residence means the county where the criminal charges were filed.
When the residence of a person is disputed, the matter of residence shall be referred to the department of mental health and addiction services for investigation and determination. Residence shall not be a basis for a board of alcohol, drug addiction, and mental health services to deny services to any person present in the board's service district, and the board shall provide services for a person whose residence is in dispute while residence is being determined and for a person in an emergency situation.