Many users experience issues with Alexa disconnecting from her Wi-Fi connection at random. Try moving the device closer to your router, ensure your router is working properly, and change the Wi-Fi connection if possible.
If the problem persists, a factory reset should fix it.