Some children with dyslexia have difficulty with fine motor skills, which can lead to difficulties with handwriting.
There is some evidence that joined handwriting can help with spelling, but sometimes this is really difficult for children and it might be more appropriate to aim for neat, legible handwriting.
To improve handwriting, you can also work on fine-motor skills, which practise the fine control needed for handwriting.