Hello @vitor_d ,
By default, AAM has a inactivity period of 120 days which means any device which is not seen active in 120days window, it will be auto removed from trait and hence from segment.
If you are seeing AC segment getting expired after 30days timeframe, try checking the "Expire After" value for the underlying traits.
Regards
Ankita Sodhi