haven't (done something) in a while
"A while" is some length of time. It's not clear how long "a while" is, but you can think of it as a little bit less than "a long time". In the example above, "a while" might mean a few weeks or a couple months.
You use "a while" in spoken English, but not often in writing.
Follow PhraseMix