1. She took care of the children while I was away.

2. She took care of the children as I was away.

3. She took care of the children when I was away.

--------------------------
Are they all the same in meaning? Which one is commonly used?

1 and 3 mean the same thing. In 2, "as" means the same thing as "because."

#1 is probably used most commonly.