You'll likely get better sound quality in the studio, but you'll have more time pressure, and that can make you play worse or make choices you wouldn't otherwise have made. In a home recording situation, you have all the time in the world, but you probably don't have access to exactly the equipment you might want.