Thanks for your answer.
In principle the transform should not matter becasue for this test I have put everything in the origin.
I have use this:
var space_rid = Physics2DServer.body_get_space( shipColl.get_rid() )
var space_state = Physics2DServer.space_get_direct_state( space_rid )
but the space_state that I get is null. I am trying to read the documentation of this but I don't fully understand what should I get here or if I need to change something in my Area2D.
I have checked in the process function the return of overlaping_areas() and there I do get what I expect.