Both are used, but each has a slightly differently effect. To my ears, ,"for" sounds more idiomatic, although "in" also works in this context. As for " in a while", I will be home in a little while = I will be home shortly.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.