The laws for being treated as a resident of France for tax purposes are four tests.
1 Main Residence
2Place of Abode
4Most Substantial assests
France requires that you follow a 183 day stay in the country not 186 days.
If a person is a resident of France, they are taxed on Worldwide income but there are provisions against Double Taxation.
I have included a link for you so you can read more about this:
I hope this information is helpful to you,