First off, this is another instance where liberal scholars say that the bible has duplicate accounts of the same event, the first account being in chapter 12. I think I already addressed this, but I don't remember where. Basically, from a literalist point of view, there are enough differences that if you presume the accuracy of the account, it is clearly a second event. But even from a non-literalist point, it doesn't necessarily prove the JEDP because it could just be an artifact of the oral traditions behind the bible. I won't address this further here.
Second, this is the first time Abraham is called a prophet, which is something I wrote about previously with Abraham as the prototype of a prophet. Here we see God call him a prophet when speaking to the king. Just as in Abraham's prior deception, we can reasonably question whether this is the right thing for him to do, and in spite of God protecting him, it appears that Abimelech is behaving better than he is. Abimelech chastises Abraham, and Abraham tries to justify his deception. Abimelech gives him an offering, and Abraham leaves.
So unlike the last time Abraham did this, this king is much more gentle, though he has a divine threat hanging over him so it is perhaps not entirely voluntary. Last time, the king just showed him the door with an armed guard. This time, the king gives him gifts and then actually offers to let him stay.
The bible does not explicitly condemn Abraham's actions, but I would again suggest that Abraham does wrongly here. Also, I am again somewhat surprised that God protects Abraham here. Even though Abraham does not demonstrate his trust in God through his actions, God protects him anyway.