No, a longer snowboard is not necessarily better for beginners. In fact, a shorter snowboard may be easier to control for beginners.
Beginners should choose a snowboard that is the appropriate size for their height and weight.