Do you have to live in a house before renting it out?
Not at all. You can rent out a property as soon as you’ve purchased it.
Note: If you do rent out your home, it becomes classified as an ‘investment property’ so make sure your home loan suits this function.