Here's why:
* It's is a contraction of "it is."
* Going to be is a future tense construction.
* Sleep can be a noun meaning the state of rest.
* For me clarifies who the sleep is for.
* Tonight specifies the time frame.
However, it's a bit informal. A more formal way to express the same sentiment would be: "I expect to have a good night's sleep tonight."