Demons have their own will.
Matthew 12:43-44 When the unclean spirit is gone out of a man, he walketh through dry places, seeking rest, and findeth none.
Then he saith, I will return into my house from whence I came out; and when he is come, he findeth it empty, swept, and garnished.