"Awhlle" is an adverb meaning for some indeterminate period of time. "A while" is a noun phrase meaning an indeterminate period of time. Since a temporal noun phrase may be used adverbially, both of these are correct: Stay a while.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
But only the nominal usage may be the object of a preposition:Stay a while.
Stay awhile.
Stay for a while.
Stay for