You can't get a residential mortgage and rent out the property because, by definition, a residential mortgage requires you to live in the property for which the loan has been arranged.
Thus, if you don't intend to live in a property, you won't qualify to receive a residential mortgage and will need a buy to let mortgage.