This will not provide isolation but will be safe if,
the neutral is earthed,
the phase is fed through the resistor,
it is constructed correctly,
the resistor is suitably large (physically) so that arcing is not possible (maybe use two).
If you don't understand any of the above points then it isn't safe for you to do.
Also,
The part before the resistor will not be safe.
It will not survive a lightening strike.
It would not be advisable to work on this without a suitable protection device (RCD).
Mike.