Since archiving is a process of keeping emails in a different folder, it does not delete emails from your Gmail account. All the archived emails still exist in your account, counting to the storage. To free up space, you need to delete non-important emails and clear the bin folder as well.