You can stay in Mian County for one night, or stay in Zhuge Ancient Town for one night, but it is better to live in Mian County, which is only 4 kilometers away from Zhuge Ancient Town. However, it is enough to visit Zhuge Ancient Town for half a day.
Where is your problem? But I think that regardless of any destination, if you can stay for one night, try to choose to stay overnight, so that you can better experience the nightlife of the locals and better integrate into the lives of the locals.