A hard wallet is the best choice for long term hold but if you're into day trading then you have to keep it in the exchange. As mentioned by others the exchange is not as safe (it can get hack or close down) as a wallet and not nearly as safe as a hardware wallet.