1. I said, "where do you live?"

2. I asked where she lived.
3. I asked where he lived.
4. I asked where they lived.
----------------------------
Can #1 be changed into #2, 3, or 4?

yes.

watch the capitalization, though:

I said, "Where do you live?"