Not long if u have a light staying on
Depends on the battery and what is connected to. If it's disconnected, fully charged then placed in storage some agm batteries claim to have a 2 year shelf life. See spec sheet. Disconnected Flooded batteries may only be a few months.