can a church rent a parsonage out?

Can a church rent a parsonage out or have a memorandum of understanding to the parsonage that is owned by the church?