Only terminal that is open 24 hours a day 7 days a week is terminal 4. At that terminal you can get something to eat and sit there. You can get from terminal 8 to 4 and vice versa on an air train in minutes. That is one of the safest terminals to sleep.
Only terminal that is open