Internal Storage means your data, photos, music, porn , etc.
Data means your apps and settings.
so, when you upgrade from miui 8.0.1 to 8.0.2 for example, if you format only system, you don't lose anything. IF your phone ain't encrypted. If is encrypted, everything will be wiped out.
So yes...