The backups remain for about 180 days, that's 6 months, more or less.
Important: If you don’t back up your iOS device to iCloud for 180 days or more, Apple reserves the right to delete your device’s iCloud backups. For information, see
iCloud Terms and Conditions.
(Apple)