I don't think there is a concrete answer to this question. It varies from one person to another depending on your preference, as working full-time and working home-based both offer advantages and disadvantages.
Working full-time has rather benefits in terms of personal growth. Usually, full-time jobs come with a set of working hours that you need to adhere to, which then teaches you how to be efficient and how to manage your time wisely. Since you are required to come to the office and interact with other people, you will learn how to present yourself in a professional way. Moreover, exposure with other people, especially those that are above you in the corporate hierarchy, comes with a variety of learning experiences including new skills and working habits. Working with colleagues may also motivate you to excel when you engage in healthy competition.
On the other hand, I think the greatest advantage of working home-based is flexibility. You can wake up and work whenever and wherever you want. This also saves you from the hassle and stress of commuting from home to the office. Moreover, since you're the one who manage your time, you have the freedom for when you want to go out and spend quality time with family and friends.