Power supply questions

To clarify for my own understanding, do you mean to use the divider from the output of the sensor since the reference is 1/2 of 5v? This way it gets 1023 at 1/2 of 5v and my sensor now has a range of 0 to 2.5v with the divider? This assumes an external power source of 5v to the sensor correct?