R.I. Gen. Laws § 31-1-18. Resident and nonresident.