They are not saved anywhere at all. They are part of an iCloud or iTunes backup and can be restored by restoring the entire device contents with the backup.
But other than a backuo file, they are not kept, saved or archived anywhere. Both Apple and carriers purge text messages once delivered, or in a few days if undeliverable.