Does my device needs to be on while I sleep to generate Sleep Analysis data?

Yes, your device needs to be turned on while you sleep in order to collect all the data the app needs to elaborate on all the results.

Can I share my Sleep Analysis result with someone else?