As long as you live in the home as well, you can rent out any portion of the home, including a bedroom, garage, basement, or other space.