It is a real time saver to keep your phone unlocked while developing an app. 'Stay awake mode' allows you to keep your phone unlocked.
This saves you from constantly unlocking your phone while developing. Which really gets annoying after a while!
Note this means your phone will be unlocked while it is plugged in so ensure this is only turned on while you are developing the application!