Actually, a wallet is essentially an interface for accessing the blockchain. With exactly the same degree of security, you can store BTC for a long time on a cold wallet as on a hardware one. And you should prefer wallets in the form of an application, but you need to be very careful with browser extensions.