“sitting as judge.” Kings and judges “sat,” that is, ruled or judged. The Bible would not be saying that she lived under a palm tree. That is where Deborah held court, if you will.
“between Ramah and Bethel.” Ramah is in the tribal area of Benjamin and Bethel is in Ephraim, so Deborah was judging quite close to the southern border of Ephraim.
“for judgment.” Deborah was known to have the spirit of God upon her, and so the “judgments” she made involved all kinds of things people would want to have God’s direction about.